package com.kedsoft.andaily.mapper;

import com.kedsoft.andaily.entity.Depart;
import com.baomidou.mybatisplus.mapper.BaseMapper;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author LGP
 * @since 2019-04-02
 */
public interface DepartMapper extends BaseMapper<Depart> {
    List<Depart> list(Map<String, Object> condition);

    int count(Map<String, Object> condition);

    String maxCode(Map<String, Object> condition);

    List<Depart> selectAllList();

    List<Map<String,Object>> selectPlist(int pid);
}
